-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[fix](function) the bucket number arg of width_bucket should be a positive integer value #37892
Conversation
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
TPC-H: Total hot run time: 39995 ms
|
TPC-DS: Total hot run time: 173521 ms
|
ClickBench: Total hot run time: 30.36 s
|
run buildall |
TPC-H: Total hot run time: 40040 ms
|
TPC-DS: Total hot run time: 173540 ms
|
ClickBench: Total hot run time: 30.73 s
|
PR approved by anyone and no changes requested. |
@@ -86,12 +92,12 @@ class FunctionWidthBucket : public IFunction { | |||
void _execute(const IColumn& expr_column, const IColumn& min_value_column, | |||
const IColumn& max_value_column, const int64_t num_buckets, | |||
IColumn& nested_column) const { | |||
const ColumnType& expr_column_concrete = reinterpret_cast<const ColumnType&>(expr_column); | |||
const ColumnType& min_value_column_concrete = | |||
const auto& expr_column_concrete = reinterpret_cast<const ColumnType&>(expr_column); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not using assert_cast?
…itive integer value
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
1 similar comment
clang-tidy review says "All clean, LGTM! 👍" |
TPC-H: Total hot run time: 39945 ms
|
TPC-DS: Total hot run time: 172117 ms
|
ClickBench: Total hot run time: 30.89 s
|
run buildall |
TPC-H: Total hot run time: 39555 ms
|
TPC-DS: Total hot run time: 174597 ms
|
ClickBench: Total hot run time: 30.56 s
|
PR approved by at least one committer and no changes requested. |
…itive integer value (#37892) ## Proposed changes Issue Number: close #xxx <!--Describe your changes.-->
…itive integer value (apache#37892) ## Proposed changes Issue Number: close #xxx <!--Describe your changes.-->
Proposed changes
Issue Number: close #xxx